PATH Mac OS 8 Developer Documentation
> Networking and Communications
> AppleShare
>
|

User Authentication Modules
|
UAMSetAttributeID
Set the value of an attribute by specifying its object ID.
extern UInt32 UAMSetAttributeID (
UInt32 id,
OSType creator,
OSType type,
void *buffer,
int size);
-
id
-
A registry object ID obtained by searching the AppleShare Registry by name and type. For information about attribute names and types, see
The AppleShare Registry Library
, which is provided as part of the
AppleShare IP 6.1 Developer's Kit
.
-
creator
-
Specifies the creator code of the attribute whose value is to be set. For information about the attribute creator codes defined by Apple Computer, see
The AppleShare Registry Library
, which is provided as part of the AppleShare IP Developer's Kit.
-
type
-
Specifies the type code of the attribute whose value is to be set. For information about the type creator codes defined by Apple Computer, see
The AppleShare Registry Library
, which is provided as part of the AppleShare IP Developer's Kit.
-
buffer
-
On input, contains the value that is to be set.
-
size
-
On input, specifies the length of the data in
buffer
. If no error occurs, on output,
size
contains the amount of data written in bytes.
-
function result
-
A result code. For a list of possible values, see
Result Codes
.
DISCUSSION
The
UAMSetAttributeID
function sets the value of the attribute identified by the
id
,
creator
, and
type
parameters.
© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)